package com.bwie.pojo;

import lombok.Data;

@Data
public class DriverLocation {
    private String driverId;  // 司机ID
    private double longitude; // 经度
    private double latitude;  // 纬度

    public DriverLocation(String driverId, double longitude, double latitude) {
        this.driverId = driverId;
        this.longitude = longitude;
        this.latitude = latitude;
    }

    // getter / setter
}